using AbpMvc.Demo.Categories;
using AbpMvc.Demo.Products;
using AutoMapper;

namespace AbpMvc.Demo;

public class DemoApplicationAutoMapperProfile : Profile
{
    public DemoApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */

        CreateMap<Product, ProductDto>();
        CreateMap<CreateOrUpdateProductDto, Product>();
        CreateMap<Category, CategoryLookupDto>();
    }
}
